<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Suliru Gallery</title>
  <link rel="shortcut icon" href="/gallery/images/gallery.png">
  <link href="https://cdn.bootcdn.net/ajax/libs/photoswipe/4.1.3/photoswipe.min.css" rel="stylesheet">
  <link href="https://cdn.bootcdn.net/ajax/libs/photoswipe/4.1.3/default-skin/default-skin.min.css" rel="stylesheet">
  <script src="https://cdn.bootcdn.net/ajax/libs/photoswipe/4.1.3/photoswipe.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/photoswipe/4.1.3/photoswipe-ui-default.min.js"></script>
  <style type="text/css">
    .pswp__bg.pswp__bg {
      background-color: #fff;
    }
  </style>
</head>

<body>
  <!-- Root element of PhotoSwipe. Must have class pswp. -->
  <div id="PhotoSwipeRoot" class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element, as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>

    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">

      <!-- Container that holds slides. PhotoSwipe keeps only 3 slides in DOM to save memory. -->
      <div class="pswp__container">
        <!-- don't modify these 3 pswp__item elements, data is added later on -->
        <div class="pswp__item"></div>
        <div class="pswp__item"></div>
        <div class="pswp__item"></div>
      </div>

      <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
      <div class="pswp__ui pswp__ui--hidden">

        <div class="pswp__top-bar">

          <!--  Controls are self-explanatory. Order can be changed. -->
          <div class="pswp__counter"></div>

          <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
          <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

          <!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
          <!-- element will get class pswp__preloader--active when preloader is running -->
          <div class="pswp__preloader">
            <div class="pswp__preloader__icn">
              <div class="pswp__preloader__cut">
                <div class="pswp__preloader__donut"></div>
              </div>
            </div>
          </div>
        </div>

        <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
          <div class="pswp__share-tooltip"></div>
        </div>

        <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
        </button>

        <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
        </button>

        <div class="pswp__caption">
          <div class="pswp__caption__center"></div>
        </div>
      </div>
    </div>
    <script>
      var openPhotoSwipe = function () {
        var pswpElement = document.getElementById('PhotoSwipeRoot');

        // build items array
        var items = [
          {
            "src": "/gallery/images/0xiaoguotu.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/1fengmian.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/2kongbaiye.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/3mulu1.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/4mulu2.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/5qianyanye.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/11.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/12.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/13.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/14.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/15.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/16.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/21.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/22.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/23.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/31.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/32.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/33.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/34.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/35.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/36.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/37.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/37.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/38.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/40.gif",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/41.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/42.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/43.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/44.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/45.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/46.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/51.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/52.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/53.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/44.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/55.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/56.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/57.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/61.gif",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/62kongbaiye.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/71.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/81kongbaiye.jpg",
            "w": 1920,
            "h": 1080
          },
          {
            "src": "/gallery/images/fengdi.jpg",
            "w": 1920,
            "h": 1080
          }
        ];

        var options = {
          history: false,
          focus: false,
          showAnimationDuration: 0,
          hideAnimationDuration: 0,
          closeElClasses: [],
        };

        var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, options);

        gallery.init();
      };

      openPhotoSwipe();
    </script>
  </div>
</body>

</html>